<?php get_header(); ?>
	<div id="wrapper">
		<div id="content">
		<?php if(have_posts()): ?>


				<div class="post-top">
					<div class="entry-date">					
						Beitrag von <?php the_author(); ?> erstellt am <?php the_time('l, j F Y'); ?>
					</div>
				</div>
				
				<div class="post-bg">

			<?php while(have_posts()): the_post(); ?>


				<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
					<h2>
						<a href="<?php the_permalink(); ?>" title="<?php the_title() ?>">
							<?php the_title(); ?>
						</a>
					</h2>
	

					<div class="entry-content">
						<?php the_content(); ?>
	
						<?php wp_link_pages('before=<div id="page-links">Page: &after=</div>'); ?>
					</div>

					<div class="entry-meta">			

						<div class="entry-tags"> 
							Tags: <?php if (the_category(', '))  the_category(); ?><?php if (get_the_tags()) the_tags(', ',', ', ''); ?> 
						</div>

					</div>

					<?php edit_post_link('Beitrag bearbeiten','<div class="edit-post">Administration:: ','</div>'); ?>

				</div>

			<?php endwhile; ?>

				<div id="comments">
					<?php comments_template(); ?>
				</div>

			</div>
			<div class="post-bottom"></div>

			<div class="navigation">
				<?php next_post_link('&laquo;%link'); ?><?php previous_post_link('%link&raquo;'); ?>
			</div>

		<?php else: ?>
			<h2 class="center">Not Found</h2>
			<p class="center">Sorry, but you are looking for something that isn't here.</p>
		<?php endif; ?>



		</div> <!-- content end -->

	</div> <!-- container end -->



<?php get_sidebar(); ?>

<?php get_footer(); ?>

